<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>AFS Java: afsjava.Tjob Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">AFS Java
   &#160;<span id="projectnumber">3.0</span>
   </div>
   <div id="projectbrief">Algorithms for Scheduling</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceafsjava.html">afsjava</a></li><li class="navelem"><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">afsjava.Tjob Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="classafsjava_1_1_tjob-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6ee0b1c1fab3d0240578dca47f5b7269"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a6ee0b1c1fab3d0240578dca47f5b7269">Tjob</a> ()</td></tr>
<tr class="memitem:a317a4bc5286479734b3ccf857158272b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a317a4bc5286479734b3ccf857158272b">setJobID</a> (String idn)</td></tr>
<tr class="memitem:a1d740ee500488d20a874f9f9a9be5366"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a1d740ee500488d20a874f9f9a9be5366">setReleaseDate</a> (int rls)</td></tr>
<tr class="memitem:a0b656ac7b489d65c143ec0e669b6b472"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a0b656ac7b489d65c143ec0e669b6b472">setDueDate</a> (int dd)</td></tr>
<tr class="memitem:ac05e1da3d66cc0a960ae6a820ddd6ae3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#ac05e1da3d66cc0a960ae6a820ddd6ae3">setWeight</a> (int wgt)</td></tr>
<tr class="memitem:a07f0137e9e8eb85574f3a55345066417"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a07f0137e9e8eb85574f3a55345066417">setProcessTime</a> (int processTime, int i)</td></tr>
<tr class="memitem:a99183ecc8ddd6fe2d1238505a8089926"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a99183ecc8ddd6fe2d1238505a8089926">setStatus</a> (char status, int i)</td></tr>
<tr class="memitem:a437ec64ba943dc7d998394a4a004ee09"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a437ec64ba943dc7d998394a4a004ee09">getId</a> ()</td></tr>
<tr class="memitem:a6eb8a93abce2221688fa95f201ce4b82"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a6eb8a93abce2221688fa95f201ce4b82">getRelease</a> ()</td></tr>
<tr class="memitem:ab2a8c33111975e02f05b2a83c40d143d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#ab2a8c33111975e02f05b2a83c40d143d">getDue</a> ()</td></tr>
<tr class="memitem:a8967ce92934d791738aca76eec22c191"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a8967ce92934d791738aca76eec22c191">getWeight</a> ()</td></tr>
<tr class="memitem:a50c86b08bc570365d2097bcd3790c97d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a50c86b08bc570365d2097bcd3790c97d">getNumber</a> ()</td></tr>
<tr class="memitem:ae1cfcf11f59e6f52ec5935f9749d2247"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#ae1cfcf11f59e6f52ec5935f9749d2247">getNumberOfOperations</a> ()</td></tr>
<tr class="memitem:a98c732b22645b39773e771975d85a040"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classafsjava_1_1_operation.html">Operation</a>[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a98c732b22645b39773e771975d85a040">getRoute</a> ()</td></tr>
<tr class="memitem:a20e7e0bccc7108b1091c238eac903d7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classafsjava_1_1_operation.html">Operation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a20e7e0bccc7108b1091c238eac903d7c">getOperation</a> (int i)</td></tr>
<tr class="memitem:a19cae9c2f277cc1169f87a401d499875"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a19cae9c2f277cc1169f87a401d499875">getRoute</a> (int i)</td></tr>
<tr class="memitem:a6c23f72c44cb5deb9a81f642a40b685b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a6c23f72c44cb5deb9a81f642a40b685b">getProcessTime</a> (int i)</td></tr>
<tr class="memitem:a6c252bca2466f81510ecbd5794a3a191"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a6c252bca2466f81510ecbd5794a3a191">getWorkcenterID</a> (int i)</td></tr>
<tr class="memitem:a40db6daeca67ad817f91555b75f321e0"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a40db6daeca67ad817f91555b75f321e0">getStatus</a> (int i)</td></tr>
<tr class="memitem:adf11cf68933a0fa9cb2679aaa27b49fb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#adf11cf68933a0fa9cb2679aaa27b49fb">getWorkcenterNumber</a> (int i)</td></tr>
<tr class="memitem:a92dfa8d88dd2bbb427db7eb66c0f568b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a92dfa8d88dd2bbb427db7eb66c0f568b">getTotalWorkTime</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0ac046a03ded70452be81baa16ba504e"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a0ac046a03ded70452be81baa16ba504e">getNumberOfJobs</a> ()</td></tr>
<tr class="memitem:af53abefd34e1079e3e412a66f09e31f5"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#af53abefd34e1079e3e412a66f09e31f5">getFramework</a> ()</td></tr>
<tr class="memitem:ab64c3048f98b1849b2830486655f7e00"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#ab64c3048f98b1849b2830486655f7e00">getTotalNumberOfOperations</a> ()</td></tr>
<tr class="memitem:a7c6ef3cf83f19ef565c0f99f99c7f2c6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a7c6ef3cf83f19ef565c0f99f99c7f2c6">readJobFile</a> (BufferedReader in, <a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[] jobArray)  throws IOException </td></tr>
<tr class="memitem:ab875a72993129721414cad6f80bb6f91"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#ab875a72993129721414cad6f80bb6f91">printJobs</a> (BufferedWriter out, <a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[] jobArray)</td></tr>
<tr class="memitem:a891e8172c539bc23f919afb082a3e1fd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_tjob.html#a891e8172c539bc23f919afb082a3e1fd">printJobs</a> (<a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[] jobArray)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Title: AFS Java version 3.0</p>
<p>Description: Algorithms for Scheduling version Java</p>
<p>Copyright: Copyright (c) 2005</p>
<p>Company: Pylo.Uniandes.edu.co</p>
<p>Class <a class="el" href="classafsjava_1_1_tjob.html">Tjob</a> </p>
<p>The class <a class="el" href="classafsjava_1_1_tjob.html">Tjob</a> provides all the attributes defined in Lekin for a job. Also provides a method to read a job from the _usr.job file.</p>
<p>The attributes (members) are: <br/>
 <b> String jobId:</b> The job identifier. <br/>
 <b> int jobNumber: </b>job number (as read). <br/>
 <b> int releaseDate: </b>minimum availability date of a job. <br/>
 <b> int dueDate: </b>Due date of a job. <br/>
 <b> int weight: </b>Priority of a job. <br/>
 <b> int totalWorkTime: </b> The sum of the processing times of a job <br/>
 <b> int numberOfOperations: </b>Number of operations of a job. <br/>
 <b> <a class="el" href="classafsjava_1_1_operation.html">Operation</a> route[]: </b>"Routing sheet". Array with the sequence of machines which a job visits (precedence constraints).<br/>
 </p>
<p>Statics: <br/>
 <b> String framework: </b> Can be "single", "flexible" or "shop". <b> Constant int MAXNUMOPERATIONS: </b> Maximum job operations. <b> int totalNumberOfOperationst: </b> Total number of operations to be scheduled. <br/>
 <b> int numberOfJobs: </b> Number of jobs in the system.</p>
<dl class="section author"><dt>Author:</dt><dd>Gonzalo Mejia </dd></dl>
<dl class="section version"><dt>Version:</dt><dd>3.0 </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00054">54</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6ee0b1c1fab3d0240578dca47f5b7269"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">afsjava.Tjob.Tjob </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default Constructor.<br/>
 </p>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00135">135</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab2a8c33111975e02f05b2a83c40d143d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getDue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getDue returns the job due date</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00277">277</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="af53abefd34e1079e3e412a66f09e31f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static String afsjava.Tjob.getFramework </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>getFramework returns the "framework". Possible values "Single", "Flexible", "Shop"</p>
<dl class="section return"><dt>Returns:</dt><dd>String </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00450">450</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a437ec64ba943dc7d998394a4a004ee09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String afsjava.Tjob.getId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getId returns the job identifier</p>
<dl class="section return"><dt>Returns:</dt><dd>String </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00259">259</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a50c86b08bc570365d2097bcd3790c97d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getNumber returns the job number</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00295">295</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a0ac046a03ded70452be81baa16ba504e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int afsjava.Tjob.getNumberOfJobs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>getNumberOfJobs returns the number of jobs</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00250">250</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="ae1cfcf11f59e6f52ec5935f9749d2247"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getNumberOfOperations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getNumberOfOperations returns the number of operations of the job</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00304">304</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a20e7e0bccc7108b1091c238eac903d7c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classafsjava_1_1_operation.html">Operation</a> afsjava.Tjob.getOperation </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getOperation returns the i-th operation of the job.<br/>
 The i-th position of the route array corresponds to the i-th job operation </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd><a class="el" href="classafsjava_1_1_operation.html">Operation</a> </dd></dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArrayIndexOutOfBoundsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00326">326</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6c23f72c44cb5deb9a81f642a40b685b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getProcessTime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getProcessingTime(i) returns the processing time of the i-th job operation</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArrayIndexOutOfBoundsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00371">371</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6eb8a93abce2221688fa95f201ce4b82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getRelease </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getRelease returns the job release date</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00268">268</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a98c732b22645b39773e771975d85a040"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classafsjava_1_1_operation.html">Operation</a> [] afsjava.Tjob.getRoute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getRoute returns the route array (of Operations).<br/>
 The i-th position of this array corresponds to the i-th job operation</p>
<dl class="section return"><dt>Returns:</dt><dd><a class="el" href="classafsjava_1_1_operation.html">Operation</a>[] </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00314">314</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a19cae9c2f277cc1169f87a401d499875"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getRoute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getRoute returns the workcenter where the i-th job operation is processed.<br/>
 </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArrayIndexOutOfBoundsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00349">349</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a40db6daeca67ad817f91555b75f321e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char afsjava.Tjob.getStatus </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getStatus returns the status of the i-th job operation</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>char </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00415">415</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="ab64c3048f98b1849b2830486655f7e00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int afsjava.Tjob.getTotalNumberOfOperations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>getTotalNumberOfOperations returns the Total Number Of Operations</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00459">459</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a92dfa8d88dd2bbb427db7eb66c0f568b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getTotalWorkTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getTotalWorkTime returns the sum of all processing times of all operations</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00469">469</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8967ce92934d791738aca76eec22c191"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getWeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getWeight returns the job weight</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00286">286</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6c252bca2466f81510ecbd5794a3a191"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String afsjava.Tjob.getWorkcenterID </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getWorkcenter returns the workcenterID used on the i-th job operation</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>String </dd></dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArrayIndexOutOfBoundsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00393">393</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="adf11cf68933a0fa9cb2679aaa27b49fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Tjob.getWorkcenterNumber </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getWorkcenterNumber returns i-th position of the routeNumber array</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>int </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArrayIndexOutOfBoundsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00432">432</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="ab875a72993129721414cad6f80bb6f91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void afsjava.Tjob.printJobs </td>
          <td>(</td>
          <td class="paramtype">BufferedWriter&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[]&#160;</td>
          <td class="paramname"><em>jobArray</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>printJobs writes the job information to an output file Default file is "outputdata.txt"</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>BufferedWriter </td></tr>
    <tr><td class="paramname">jobArray</td><td><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[] </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Exception</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00632">632</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a891e8172c539bc23f919afb082a3e1fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void afsjava.Tjob.printJobs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[]&#160;</td>
          <td class="paramname"><em>jobArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>printJobs prints the job information to the console</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">jobArray</td><td><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[] </td></tr>
    <tr><td class="paramname">jobs</td><td>StringBuffer </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00672">672</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a7c6ef3cf83f19ef565c0f99f99c7f2c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void afsjava.Tjob.readJobFile </td>
          <td>(</td>
          <td class="paramtype">BufferedReader&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[]&#160;</td>
          <td class="paramname"><em>jobArray</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>  throws IOException </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>readJobFile reads the file _user.job from the temp directory. Returns an array of Tjobs</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>BufferedReader: A buffer reader </td></tr>
    <tr><td class="paramname">jobArray</td><td><a class="el" href="classafsjava_1_1_tjob.html">Tjob</a>[]: The array of Tjobs </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00482">482</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a0b656ac7b489d65c143ec0e669b6b472"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setDueDate </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setDueDate sets the job due date dj</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">dd</td><td>int </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00170">170</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a317a4bc5286479734b3ccf857158272b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setJobID </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>idn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setJobId sets the job identifier</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">idn</td><td>String </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00151">151</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a07f0137e9e8eb85574f3a55345066417"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setProcessTime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>processTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setProcessTime sets the processing time of the i-th operation</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">processTime</td><td>int (<a class="el" href="classafsjava_1_1_operation.html">Operation</a> processing time) </td></tr>
    <tr><td class="paramname">i</td><td>int (i-th position) </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">an</td><td>ArrayIndexOutOfBoundsException if i is out of range </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00192">192</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a1d740ee500488d20a874f9f9a9be5366"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setReleaseDate </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setReleaseDate sets the job release date rj</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">rls</td><td>int </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00160">160</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="a99183ecc8ddd6fe2d1238505a8089926"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setStatus </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setStatus sets status of the i-th operation</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>int (<a class="el" href="classafsjava_1_1_operation.html">Operation</a> status) </td></tr>
    <tr><td class="paramname">i</td><td>int (i-th position) </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions:</dt><dd>
  <table class="exception">
    <tr><td class="paramname">an</td><td>ArrayIndexOutOfBoundsException if i is out of range </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00220">220</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<a class="anchor" id="ac05e1da3d66cc0a960ae6a820ddd6ae3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Tjob.setWeight </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>wgt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setWeight sets the job weight</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">wgt</td><td>int </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tjob_8java_source.html#l00180">180</a> of file <a class="el" href="_tjob_8java_source.html">Tjob.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/afsjava/<a class="el" href="_tjob_8java_source.html">Tjob.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jun 2 2012 08:28:19 for AFS Java by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
